<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%> 
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<c:set var="ctx" value="${pageContext.request.contextPath }" />
<jsp:include page="../inc.jsp" /> 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<style type="text/css">
		table#formTb tr{
			height: 25px;
			border-bottom: 1px solid #d4d4d4;
			margin: 5px;
		}
		table#formTb tr td:first-child{
			text-align: right;
		}	
		table#formTb tr td{
			padding: 7px 3px;
		}
	</style>
	<script type="text/javascript">
		
	</script>
	<form id="dataForm" enctype="multipart/form-data">
		<table id="formTb" width="100%">
			<tr>
				<td width="100px">菜单名称:</td>
				<td>
					<input class="easyui-textbox" name="name" value="${mb.name }" data-options="
						required:true,
						validType:'chs',
						prompt:'中文的名字'
					">
				</td>
			</tr>
			<tr>
				<td>父菜单:</td>
				<td>
					<input class="easyui-textbox" name="idcard" value="${mb.idcard}" data-options="
						required:true,
						prompt:'18位身份证号码',
						onChange:function(nv,ov){
						    checkSex(nv);
						}
					">
				</td>
			</tr>
			<tr>
				<td>图标:</td>
				<td>
					<input class="easyui-textbox" id="mobile" name="mobile" value="${mb.mobile }" data-options="
						required:true,
						validType:'phone',
						prompt:'11位的手机号码'
					">
				</td>
			</tr>
			<tr>
				<td>链接地址:</td>
				<td>
					<input class="easyui-datebox" enable=false id="birthday" 
					value="${mb.bir }"
					name="birthday">
				</td>
			</tr>
		</table> 
		
	</form>
</body>
</html>